package com.ssy.lingxi.order.model.bo;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 订单支付流程执行结果
 * @author 万宁
 * @version 2.0.0
 * @date 2021-08-15
 */
public class OrderPaymentBO implements Serializable {
    private static final long serialVersionUID = -8410740210212462725L;

    public OrderPaymentBO() {
        this.requirePayment = false;
        this.payType = 0;
        this.payChannel = 0;
        this.batchNo = 0;
        this.payAmount = BigDecimal.ZERO;
    }

    public OrderPaymentBO(BigDecimal payAmount) {
        this.requirePayment = false;
        this.payType = 0;
        this.payChannel = 0;
        this.batchNo = 0;
        this.payAmount = payAmount;
    }

    /**
     * 支付需要支付
     */
    private Boolean requirePayment;

    /**
     * 支付方式
     */
    private Integer payType;

    /**
     * 支付渠道
     */
    private Integer payChannel;

    /**
     * 支付批次
     */
    private Integer batchNo;

    /**
     * 支付金额
     */
    private BigDecimal payAmount;

    public Boolean getRequirePayment() {
        return requirePayment;
    }

    public void setRequirePayment(Boolean requirePayment) {
        this.requirePayment = requirePayment;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Integer getPayChannel() {
        return payChannel;
    }

    public void setPayChannel(Integer payChannel) {
        this.payChannel = payChannel;
    }

    public Integer getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(Integer batchNo) {
        this.batchNo = batchNo;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }
}
